<!-- Begin holidays/show.tpl -->

{opentable }
{titlebar colspan="6" title=$lg->my_holidays }
	<tr class="sectiontableheader" align="center" >
		<td width = "8%">{$lg->cgid}</td>
		<td width = "8%">{$lg->date_from}</td>
		<td width = "8%">{$lg->date_to}</td>
		<td width = "8%">{$lg->total}</td>
	    <td width = "8%">{$lg->status}</td>
		<td width = "8%">{$lg->edit}</td>
	</tr>		
{foreach from=$t_datas item=s_datas}
	<tr align="center">
		<td width = "8%">{$s_datas.cgid}</td>
		<td width = "18%">{day_name id=$s_datas.ddate} {$s_datas.ddate|userdate} {if $s_datas.dtime eq 1} {$lg->pm} {else} {$lg->am} {/if}</td>
		<td width = "18%">{day_name id=$s_datas.fdate} {$s_datas.fdate|userdate} {if $s_datas.ftime eq 1} {$lg->pm} {else} {$lg->am} {/if}</td>
		<td width = "8%">{$s_datas.total}</td>
		<td width = "8%">{f_dd01_cv id=holst value=$s_datas.stats}</td>
		<td width = "8%">
			<a href="?module=holidays&action=add&sub=edit&cgid={$s_datas.cgid}">
			<img src="{$smarty.env.imgs.edit}" width="16" height="16" border="0" alt="Edit" />
			</a>
		</td>
   		<td width="20%">&nbsp;</td>
	</tr>
{/foreach}
</table>

<!-- End holidays/show.tpl -->